<nz-sider [(nzCollapsed)]="isCollapsed" [nzTrigger]="null">
    <ul nz-menu [nzTheme]="'dark'" [nzMode]="isCollapsed?'vertical':'inline'">
        <li nz-menu-item *ngFor="let item of menuArr" [nzSelected]="currentRouter==item.routerLink" routerLink="../../{{item.routerLink}}">
            <span><i class="{{item.icon}}"></i></span>
        </li>
        <li nz-submenu>
            <span title><i class="anticon anticon-bars"></i><span class="nav-text">User</span></span>
            <ul>
                <li nz-menu-item routerLink="../../user/register">注销</li>
                <li nz-menu-item>切换团队</li>
            </ul>
        </li>
    </ul>
</nz-sider>